<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>更新询价单信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="/Machine/css/comupdate.css">

		<script type="text/javascript" src="/Machine/js/jquery-1.7.2.js">
		</script>


	</head>

	<body>
	
	<div class="compon_div">
	
	<form id="dform" target="send"
			action="/Machine/user/updatedPriceOrderAction.action" method="post">

			<table class="tb" cellspacing="1" cellpadding="6">
			
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 询价单编号
					</td>
					<td class="tr f_gray">
					<input type="hidden" name="priceOrder.id" value="${priceOrder.id}"/>
						${priceOrder.id}
					</td>
				</tr>

				<tr>
					<td class="tl">
						<span class="f_red">*</span> 供应商编号
					</td>
					<td class="tr">
						${priceOrder.id}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 供应商名称
					</td>
					<td class="tr">
						${priceOrder.providerName}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 采购商编号
					</td>
					<td class="tr">
						${priceOrder.buyid}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 采购商名称
					</td>
					<td class="tr">
						${priceOrder.buyName}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 零部件编号
					</td>
					<td class="tr">
						${priceOrder.componentid}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 零部件名称
					</td>
					<td class="tr">
						${priceOrder.componentName}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 零部件原价
					</td>
					<td class="tr">
						${priceOrder.price}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 零部件供应商出价
					</td>
					<td class="tr">
						${priceOrder.providerprice}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 采购商出价
					</td>
					<td class="tr">
						${priceOrder.buyprice}
					</td>
				</tr>
				<tr>
					<td class="tl">
						<span class="f_red">*</span> 说明信息
					</td>
					<td class="tr">
						<input type="text" value="${priceOrder.info}" name="info"/> 
					</td>
				</tr>
				<tr>
					<td class="tl">
						订单状态
					</td>
					<td class="tr f_gray">
					<s:if test="orderForm.state == 0">
						等待处理
					</s:if>
					<s:else>
						处理完成
					</s:else>
					</td>

				</tr>

				<tr>
					<td class="tl">
						&nbsp;
					</td>
					<td class="tr" height="50">
						<input class="btn" type="submit" value=" 修 改 " name="submit">
						<input class="btn" type="button" onclick="history.back(-1);"
							value=" 返 回 ">
					</td>
				</tr>

			</table>

		</form>
	
	</div>

	</body>
</html>
